package mdm.com.web.service;

import java.util.List;

import mdm.com.web.entity.Role;
import mdm.com.web.entity.RolePermission;


public interface IRoleService {
    Role selectByRoleName(String roleName) throws Exception;

    void add(Role role) throws Exception;

    void remove(Integer roleId) throws Exception;

    void modify(Role role) throws Exception;

    List<Role> selectByCondition(Role role) throws Exception;

    // jlq-add-2018-3-12
    List<RolePermission> selectByRoleId(Integer cRoleId);
}
